<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <script type="text/javascript">
        // window.close();

        var viewW = document.documentElement.clientWidth;
        var viewH = document.documentElement.clientHeight;
        console.log(viewW)
        console.log(viewH)
        window.open('http://www.baidu.com', '_blank')

        console.log(window.opener)
    </script>
</body>
</html>
